<?php
/**
 * The template for displaying content in the single.php template
 *
 * @package WordPress
 * @subpackage Twenty_Eleven
 * @since Twenty Eleven 1.0
 */
$icon = array('hot.gif','new.gif');
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<header class="entry-header">
		<img src="<?php echo get('baner_top'); ?>" width="100%" height="100%"/>
		<h2 class="entry-title title_taibigkool"> <span><?php the_title(); ?> <img src="<?php echo  bloginfo('template_directory').'/images/'.$icon[array_rand($icon)]; ?>"/> </span></h2>
		<div clas="game_info ">
				<div class="leftdowload">
					<a  href="<?php echo get('url_download'); ?>" target="_blank" >
					<img class="image-thumb" alt="Game : <?php the_title(); ?>" src="<?php echo get('image_thumb'); ?>"><br>
					<img class="image-dowload" alt="Tải Game Về Máy" src="<?php echo  bloginfo('template_directory').'/images/taixuong.png'?>">
					</a>
				</div>
				<div class="right-dowload">
					<span>
							<label> Thể loại : <?php print get('thundefined_loundefinedi_game'); ?></label>
							<p><label> Xem : <?php echo_views(get_the_ID()); ?> lượt </label></p>
							<label>
								<!-- AddThis Button BEGIN -->
								<div class="addthis_toolbox addthis_default_style">
								<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
								<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
								</div>
								<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=undefined"></script>
								<!-- AddThis Button END -->
							</label>
					</span>

				</div>
		</div>
	</header><!-- .entry-header -->
	<div class="entry-content clear">
		<?php the_content(); ?>
		<div class="download_footer">
			<span> Tải game <span style="color: red"><b><?php the_title(); ?></b></span> hoàn toàn miễn phí về máy </span><br>
			<a  href="<?php echo get('link_share_game'); ?>" target="_blank" >
				<img class="" alt="Tải Game Về Máy" src="<?php echo  bloginfo('template_directory').'/images/taixuong.png'?>">
			</a>
		</div>
		<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
	</div><!-- .entry-content -->

</article><!-- #post-<?php the_ID(); ?> -->

